// 导入封装好的网络请求类工具
import request from '../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);
//编辑保存钻遇复杂情况
export const EditOneDrillProblem = (form) => {
        return request({
            url: '/drillProblem/editOneDrillProblem',
            method: 'put',
            data: form
        })
    }
    //删除某一行钻遇复杂情况数据
export const DeleteOneDrillProblem = (drillproblemid) => {
    return request({
        url: `/drillProblem/deleteOneDrillProblem/${drillproblemid}`,
        method: 'delete'
    })
}

//查询钻遇复杂情况
export const FindDrillProblemByCondition = (searchModel) => {
    return request({
        url: '/drillProblem/findDrillProblemByCondition',
        method: 'post',
        data: searchModel
    })
}

export const InsertOneDirllProblem = (form) => {
    return request({
        url: '/drillProblem/insertOneDrillProblem',
        method: 'post',
        data: form
    })
}